#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int n = 10;
	int sum = 1;
	for (int i = 1; i < 10; i++)
	{
		sum += i;//46
	}

	for(int j=0;j<5;j++)
	{
		sum += j;//56
	}
	
	for (int k = 1; k < 5; k++)
	{
		sum -= k;//46
	}
	printf("%d\n", sum);//46
	return 0;
}